package com.revel.cloud.nacos.example.controller.trade;

import com.revel.cloud.nacos.example.service.trade.OrderService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author : revel
 * @Date: 2022/6/1 18:55
 * @Description:
 */
@RestController
@RequestMapping("/order")
public class OrderController {

    @Resource
    private OrderService orderService;

    @RequestMapping("/findOrderList")
    public List<Map<String, Object>> findOrderList(){
        return orderService.findOrderList();
    }
}
